<template>
  <div class="hello">
    <h1>{{ msg }}</h1>
    <button @click="onClick">click me</button>
  </div>
</template>

<script lang="ts">
import Vue from 'vue'
import { Component } from 'vue-property-decorator'

@Component({ name: 'HelloWorld' })
export default class HelloWorld extends Vue {
  msg: string = 'Welcome to Your Vue.js App'

  onClick (): void {
    this.msg = 'click me'
  }
}
</script>
